/*
 *    Copyright (c) 2018-2025, fanxl All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: fanxl (wangiegie@gmail.com)
 */

package com.snow4cloud.common.model.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 体检项目管理
 *
 * @author fanxl
 * @date 2021-03-23 12:25:09
 */
@Data
@TableName("tj_item")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "体检项目管理")
public class Item extends Model<Item> {
private static final long serialVersionUID = 1L;

    /**
     * 项目ID
     */
    @TableId(type = IdType.INPUT)
    @ApiModelProperty(value="项目ID")
    private String id;
    /**
     * 项目名称
     */
    @ApiModelProperty(value="项目名称")
    private String itemName;
    /**
     * 拼音简码
     */
    @ApiModelProperty(value="拼音简码")
    private String singleCode;
    /**
     * 显示顺序
     */
    @ApiModelProperty(value="显示顺序")
    private Integer dispOrder;
    /**
     * 结果类型
     */
    @ApiModelProperty(value="结果类型")
    private String resultType;
    /**
     * 正常结果
     */
    @ApiModelProperty(value="正常结果")
    private String defaultResult;
    /**
     * 项目单位
     */
    @ApiModelProperty(value="项目单位")
    private String itemUnit;
    /**
     * 单价
     */
    @ApiModelProperty(value="单价")
    private BigDecimal price;
    /**
     * 科室ID
     */
    @ApiModelProperty(value="科室ID")
    private String deptId;

	@ApiModelProperty(value="科室名称")
	private String deptName;
    /**
     * 检验类型(如：生化、免疫等等)
     */
    @ApiModelProperty(value="检验类型(如：生化、免疫等等)")
    private String inspectionType;
    /**
     * 体检性别
     */
    @ApiModelProperty(value="体检性别")
    private String sex;
    /**
     * 项目标识(开发用)
     */
    @ApiModelProperty(value="项目标识(开发用)")
    private String itemIdent;
    /**
     * 项目代码(lis接口)
     */
    @ApiModelProperty(value="项目代码(lis接口)")
    private String itemCode;
    /**
     * 生成科室小结标识(生成，不生成)
     */
    @ApiModelProperty(value="生成科室小结标识(生成，不生成)")
    private String isCreateSummary;
    /**
     * 报告打印标识(打印，不打印)
     */
    @ApiModelProperty(value="报告打印标识(打印，不打印)")
    private String isPrintReport;
    /**
     * 需要检查标识(1检查，0不检查)
     */
    @ApiModelProperty(value="需要检查标识(1检查，0不检查)")
    private String isCheck;
    /**
     * 参考范围
     */
    @ApiModelProperty(value="参考范围")
    private String referenceRange;
    /**
     * 是否需要多行编辑(1需要，0不需要)
     */
    @ApiModelProperty(value="是否需要多行编辑(1需要，0不需要)")
    private String isLineedit;
    /**
     * 创建时间
     */
    @ApiModelProperty(value="创建时间")
    private LocalDateTime createDate;
    /**
     * 修改时间
     */
    @ApiModelProperty(value="修改时间")
    private LocalDateTime modifyDate;
    /**
     * 成本价
     */
    @ApiModelProperty(value="成本价")
    private BigDecimal costPrice;
    /**
     * 项目编码(用于HIS价格同步)
     */
    @ApiModelProperty(value="项目编码(用于HIS价格同步)")
    private String itemHisCode;
    /**
     * pacs编码
     */
    @ApiModelProperty(value="pacs编码")
    private String itemPacsCode;
    /**
     * 0,全部显示;1,偏低显示;2,偏高显示
     */
    @ApiModelProperty(value="0,全部显示;1,偏低显示;2,偏高显示")
    private String viewType;
    /**
     * 机构id
     */
    @ApiModelProperty(value="机构id")
    private String orgId;
    /**
     * 机构名称
     */
    @ApiModelProperty(value="机构名称")
    private String orgName;
    }
